<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page import="com.teach.entity.Shops"%>
<%@page import="java.util.List"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>时尚外卖</title>
		<c:set var="title" value="首页" scope="request" />
		<jsp:include page="/head.jsp" />
	</head>
	
	<link rel="stylesheet" type="text/css" href="food/css/food-style.css" />
	<link rel="shortcut icon" href="./img/meituan.ico" />
	<link rel="stylesheet" type="text/css" href="food/css/food-iconfont.css">
	<script src="js/jquery-3.2.1.min.js"></script>
	<!-- <link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css"> -->

	<body>
		
		<c:import url="/header.do" />
		<div id="meituanwang">
			<!--头部内容开始-->
			 
				<!--菜单部分栏结束-->
				<div class="gediao">
					<div class="container">
						<ul class="con_title">
						<li class="title">为您搜索到的商家</li>
						<div class="title_item">
							
						</div>
					</ul>
					
						<div class="gediaocons">
							<div class="part_con clearfix gediao-con" style="display: block;">
							<!-- 商家 -->
							<c:forEach items="${foodSearch }"  var="food">
								<a href="shangjia.do?shopId=${food.id}" class="con_product">
									<div class="gediao_img">
										<img src="./img/_noimg.png" style="height:210px"/>
									</div>
							
									<div class="info_item">
									
										<p class="name" >${food.shopName}</p>	
										<div>
											<span class="price"> <span class="symbol">¥</span> <span
												class="new_price">10</span>
											</span> <span class="old_price">门市价¥100</span> <span class="location">天心区</span>
										</div>
									
									</div>
								</a>
							</c:forEach>
								<!-- <a href="" class="con_product">
									<div class="gediao_img">
										<img src="./img/_noimg.png" />
									</div>
							
									<div class="info_item">
									
										<p class="name" >禾绿回转寿司（中海环宇城店）</p>	
										<div>
											<span class="price"> <span class="symbol">¥</span> <span
												class="new_price">10</span>
											</span> <span class="old_price">门市价¥100</span> <span class="location">天心区</span>
										</div>
									
									</div>
								</a>
								<a href="" class="con_product">
									<div class="gediao_img">
										<img src="./img/q1.jpg" />
									</div>
							
									<div class="info_item">
									
										<p class="name" >禾绿回转寿司（中海环宇城店）</p>	
										<div>
											<span class="price"> <span class="symbol">¥</span> <span
												class="new_price">10</span>
											</span> <span class="old_price">门市价¥100</span> <span class="location">天心区</span>
										</div>
									
									</div>
								</a>
								<a href="" class="con_product">
									<div class="gediao_img">
										<img src="./img/q1.jpg" />
									</div>
							
									<div class="info_item">
									
										<p class="name" >禾绿回转寿司（中海环宇城店）</p>	
										<div>
											<span class="price"> <span class="symbol">¥</span> <span
												class="new_price">10</span>
											</span> <span class="old_price">门市价¥100</span> <span class="location">天心区</span>
										</div>
									
									</div>
								</a>								
								<a href="" class="con_product">
									<div class="gediao_img">
										<img src="./img/q1.jpg" />
									</div>							
									<div class="info_item">									
										<p class="name" >禾绿回转寿司（中海环宇城店）</p>	
										<div>
											<span class="price"> <span class="symbol">¥</span> <span
												class="new_price">10</span>
											</span> <span class="old_price">门市价¥100</span> <span class="location">天心区</span>
										</div>
									</div>
								</a> -->								 
							</div>
						</div>
					
					</div>
				</div>				
		<!--页脚部分-->
		
		<!--页脚部分结束-->
		</div>
		<div id="footer">
			<div class="footer_con">
				<%@ include file="../footer.jsp" %>
			</div>
		</div>
	</body>

</html>